<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属代理')}:</label>
        <div class="col-xs-12 col-sm-8">
           <input id="c-a_id" data-rule="required" data-source="auth.admin/index" class="form-control selectpage" data-field="nickname" name="row[a_id]" type="text" value="">
            
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('app名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_name" data-rule="required" class="form-control" name="row[app_name]" type="text" value="">
            
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('App_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::upload('row[app_url]', '', ['data-rule'=>'required'])}
<!--            <input id="c-app_url" data-rule="required" class="form-control" name="row[app_url]" type="text">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('IOS安装包')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::upload('row[ios_url]', '', ['data-rule'=>'required'])}
            <!--            <input id="c-app_url" data-rule="required" class="form-control" name="row[app_url]" type="text">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Background')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::upload('row[background]', '', ['data-rule'=>'required'])}
<!--            <input id="c-background" data-rule="required" class="form-control" name="row[background]" type="text">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('App_size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_size" data-rule="required" class="form-control" name="row[app_size]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
